import Vue from 'vue';
import router from "./router";
import store from './store';
import App from './App.vue';
// 导入jQuery
import $ from 'jquery'

window.jQuery = $
window.$ = $

window.Vue = Vue;


// element-ui组件
import ElementUI from "element-ui";
import 'element-ui/lib/theme-chalk/index.css'
// 超出省略组件
import Ellipsis from '@/components/common/ellipsis.vue'
// 预览表单
import WDialog from '@/components/common/preview-dialog.vue'

Vue.use( ElementUI );
Vue.use( Ellipsis );
Vue.use( WDialog );

Vue.config.productionTip = false;

new Vue( {
  router,
  store,
  render: h => h( App ),
} ).$mount( '#app' );
